<!-- 
  if slot isn't overwritten, we display the the default coponent, which is the 
  children passed onto this component.
-->
<ng-content *ngIf="!isOverriden"></ng-content>

<!-- If slot is overwritten, we render that instead. -->
<ng-container
  *ngIf="isOverriden"
  [ngTemplateOutlet]="overridingComponent"
  [ngTemplateOutletContext]="context"
></ng-container>
